package com.bajie.bjlisten.mapper;


import com.bajie.bjlisten.entity.BjUserInterest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
 * 用户兴趣分类持久
 */
@Mapper
@Repository
public interface BjUserInterestMapper {

    int save(BjUserInterest bjUserInterest);

    int deleteByUserId(@Param("userId") String userId);

    int saveUserInterest(@Param("userId") String userId, @Param("classifys") List<String> classifys);


}
